#include <iostream>
#include "BLinkTree.hpp"

int main()
{
    BLinkTree<int> tree;
    
    tree.Insert(1);
    tree.Insert(2);
    tree.Insert(3);
    tree.Insert(4);
    tree.Insert(5);
    tree.Insert(6);
    tree.show();

    tree.Remove(6);
    tree.show();

    tree.Remove(5);
    tree.show();
    
    int* c = tree.FindNode(2);
    printf("%p %p\n",c,tree.FindNode(2));

    return 0;
}